

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#lwip/opt.h" class="nav-sub-label">lwip/opt.h</a>
              </li>
      

              <li>
                <a href="#lwip/arch.h" class="nav-sub-label">lwip/arch.h</a>
              </li>
      

              <li>
                <a href="#lwip/inet.h" class="nav-sub-label">lwip/inet.h</a>
              </li>
      

              <li>
                <a href="#lwip/sockets.h" class="nav-sub-label">lwip/sockets.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#LWIP_HDR_NETDB_H" class="nav-sub-label">LWIP_HDR_NETDB_H</a>
              </li>
      

              <li>
                <a href="#LWIP_DNS_API_DECLARE_H_ERRNO" class="nav-sub-label">LWIP_DNS_API_DECLARE_H_ERRNO</a>
              </li>
      

              <li>
                <a href="#LWIP_DNS_API_DEFINE_ERRORS" class="nav-sub-label">LWIP_DNS_API_DEFINE_ERRORS</a>
              </li>
      

              <li>
                <a href="#LWIP_DNS_API_DEFINE_FLAGS" class="nav-sub-label">LWIP_DNS_API_DEFINE_FLAGS</a>
              </li>
      

              <li>
                <a href="#LWIP_DNS_API_DECLARE_STRUCTS" class="nav-sub-label">LWIP_DNS_API_DECLARE_STRUCTS</a>
              </li>
      

              <li>
                <a href="#EAI_NONAME" class="nav-sub-label">EAI_NONAME</a>
              </li>
      

              <li>
                <a href="#EAI_SERVICE" class="nav-sub-label">EAI_SERVICE</a>
              </li>
      

              <li>
                <a href="#EAI_FAIL" class="nav-sub-label">EAI_FAIL</a>
              </li>
      

              <li>
                <a href="#EAI_MEMORY" class="nav-sub-label">EAI_MEMORY</a>
              </li>
      

              <li>
                <a href="#EAI_FAMILY" class="nav-sub-label">EAI_FAMILY</a>
              </li>
      

              <li>
                <a href="#HOST_NOT_FOUND" class="nav-sub-label">HOST_NOT_FOUND</a>
              </li>
      

              <li>
                <a href="#NO_DATA" class="nav-sub-label">NO_DATA</a>
              </li>
      

              <li>
                <a href="#NO_RECOVERY" class="nav-sub-label">NO_RECOVERY</a>
              </li>
      

              <li>
                <a href="#TRY_AGAIN" class="nav-sub-label">TRY_AGAIN</a>
              </li>
      

              <li>
                <a href="#AI_PASSIVE" class="nav-sub-label">AI_PASSIVE</a>
              </li>
      

              <li>
                <a href="#AI_CANONNAME" class="nav-sub-label">AI_CANONNAME</a>
              </li>
      

              <li>
                <a href="#AI_NUMERICHOST" class="nav-sub-label">AI_NUMERICHOST</a>
              </li>
      

              <li>
                <a href="#AI_NUMERICSERV" class="nav-sub-label">AI_NUMERICSERV</a>
              </li>
      

              <li>
                <a href="#AI_V4MAPPED" class="nav-sub-label">AI_V4MAPPED</a>
              </li>
      

              <li>
                <a href="#AI_ALL" class="nav-sub-label">AI_ALL</a>
              </li>
      

              <li>
                <a href="#AI_ADDRCONFIG" class="nav-sub-label">AI_ADDRCONFIG</a>
              </li>
      

              <li>
                <a href="#NETDB_ELEM_SIZE" class="nav-sub-label">NETDB_ELEM_SIZE</a>
              </li>
      

              <li>
                <a href="#gethostbyname(name)" class="nav-sub-label">gethostbyname(name)</a>
              </li>
      

              <li>
                <a href="#gethostbyname_r(name, ret, buf, buflen, result, h_errnop)" class="nav-sub-label">gethostbyname_r(name, ret, buf, buflen, result, h_errnop)</a>
              </li>
      

              <li>
                <a href="#freeaddrinfo(addrinfo)" class="nav-sub-label">freeaddrinfo(addrinfo)</a>
              </li>
      

              <li>
                <a href="#getaddrinfo(nodname, servname, hints, res)" class="nav-sub-label">getaddrinfo(nodname, servname, hints, res)</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#lwip_gethostbyname_r" class="nav-sub-label">lwip_gethostbyname_r</a>
              </li>
      

              <li>
                <a href="#lwip_freeaddrinfo" class="nav-sub-label">lwip_freeaddrinfo</a>
              </li>
      

              <li>
                <a href="#lwip_getaddrinfo" class="nav-sub-label">lwip_getaddrinfo</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#hostent" class="nav-sub-label">hostent</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="lwip/opt.h"><span>lwip/opt.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/opt.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/opt.h"
</pre>

      <h4 id="lwip/arch.h"><span>lwip/arch.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/arch.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/arch.h"
</pre>

      <h4 id="lwip/inet.h"><span>lwip/inet.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/inet.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/inet.h"
</pre>

      <h4 id="lwip/sockets.h"><span>lwip/sockets.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/sockets.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/sockets.h"
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="LWIP_HDR_NETDB_H">Marco <span>LWIP_HDR_NETDB_H</span></h4>
      <pre class="doc-declare"><code>#define LWIP_HDR_NETDB_H
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="LWIP_DNS_API_DECLARE_H_ERRNO">Marco <span>LWIP_DNS_API_DECLARE_H_ERRNO</span></h4>
      <pre class="doc-declare"><code>#define LWIP_DNS_API_DECLARE_H_ERRNO 1
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="LWIP_DNS_API_DEFINE_ERRORS">Marco <span>LWIP_DNS_API_DEFINE_ERRORS</span></h4>
      <pre class="doc-declare"><code>#define LWIP_DNS_API_DEFINE_ERRORS   1
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="LWIP_DNS_API_DEFINE_FLAGS">Marco <span>LWIP_DNS_API_DEFINE_FLAGS</span></h4>
      <pre class="doc-declare"><code>#define LWIP_DNS_API_DEFINE_FLAGS    1
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="LWIP_DNS_API_DECLARE_STRUCTS">Marco <span>LWIP_DNS_API_DECLARE_STRUCTS</span></h4>
      <pre class="doc-declare"><code>#define LWIP_DNS_API_DECLARE_STRUCTS 1
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="EAI_NONAME">Marco <span>EAI_NONAME</span></h4>
      <pre class="doc-declare"><code>#define EAI_NONAME     200
</code></pre>
      <pre class="doc-comment">/** Errors used by the DNS API functions, h_errno can be one of them */</pre>

      <h4 id="EAI_SERVICE">Marco <span>EAI_SERVICE</span></h4>
      <pre class="doc-declare"><code>#define EAI_SERVICE    201
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="EAI_FAIL">Marco <span>EAI_FAIL</span></h4>
      <pre class="doc-declare"><code>#define EAI_FAIL       202
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="EAI_MEMORY">Marco <span>EAI_MEMORY</span></h4>
      <pre class="doc-declare"><code>#define EAI_MEMORY     203
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="EAI_FAMILY">Marco <span>EAI_FAMILY</span></h4>
      <pre class="doc-declare"><code>#define EAI_FAMILY     204
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="HOST_NOT_FOUND">Marco <span>HOST_NOT_FOUND</span></h4>
      <pre class="doc-declare"><code>#define HOST_NOT_FOUND 210
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="NO_DATA">Marco <span>NO_DATA</span></h4>
      <pre class="doc-declare"><code>#define NO_DATA        211
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="NO_RECOVERY">Marco <span>NO_RECOVERY</span></h4>
      <pre class="doc-declare"><code>#define NO_RECOVERY    212
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="TRY_AGAIN">Marco <span>TRY_AGAIN</span></h4>
      <pre class="doc-declare"><code>#define TRY_AGAIN      213
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="AI_PASSIVE">Marco <span>AI_PASSIVE</span></h4>
      <pre class="doc-declare"><code>#define AI_PASSIVE     1
</code></pre>
      <pre class="doc-comment">/* input flags for struct addrinfo */</pre>

      <h4 id="AI_CANONNAME">Marco <span>AI_CANONNAME</span></h4>
      <pre class="doc-declare"><code>#define AI_CANONNAME   2
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="AI_NUMERICHOST">Marco <span>AI_NUMERICHOST</span></h4>
      <pre class="doc-declare"><code>#define AI_NUMERICHOST 4
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="AI_NUMERICSERV">Marco <span>AI_NUMERICSERV</span></h4>
      <pre class="doc-declare"><code>#define AI_NUMERICSERV 8
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="AI_V4MAPPED">Marco <span>AI_V4MAPPED</span></h4>
      <pre class="doc-declare"><code>#define AI_V4MAPPED    16
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="AI_ALL">Marco <span>AI_ALL</span></h4>
      <pre class="doc-declare"><code>#define AI_ALL         32
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="AI_ADDRCONFIG">Marco <span>AI_ADDRCONFIG</span></h4>
      <pre class="doc-declare"><code>#define AI_ADDRCONFIG  64
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="NETDB_ELEM_SIZE">Marco <span>NETDB_ELEM_SIZE</span></h4>
      <pre class="doc-declare"><code>#define NETDB_ELEM_SIZE          (sizeof(struct addrinfo) + sizeof(struct sockaddr_storage) + DNS_MAX_NAME_LENGTH + 1)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="gethostbyname(name)">Marco <span>gethostbyname(name)</span></h4>
      <pre class="doc-declare"><code>#define gethostbyname(name) lwip_gethostbyname(name)
</code></pre>
      <pre class="doc-comment">/** @ingroup netdbapi */</pre>

      <h4 id="gethostbyname_r(name, ret, buf, buflen, result, h_errnop)">Marco <span>gethostbyname_r(name, ret, buf, buflen, result, h_errnop)</span></h4>
      <pre class="doc-declare"><code>#define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \
      lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
</code></pre>
      <pre class="doc-comment">/** @ingroup netdbapi */</pre>

      <h4 id="freeaddrinfo(addrinfo)">Marco <span>freeaddrinfo(addrinfo)</span></h4>
      <pre class="doc-declare"><code>#define freeaddrinfo(addrinfo) lwip_freeaddrinfo(addrinfo)
</code></pre>
      <pre class="doc-comment">/** @ingroup netdbapi */</pre>

      <h4 id="getaddrinfo(nodname, servname, hints, res)">Marco <span>getaddrinfo(nodname, servname, hints, res)</span></h4>
      <pre class="doc-declare"><code>#define getaddrinfo(nodname, servname, hints, res) \
      lwip_getaddrinfo(nodname, servname, hints, res)
</code></pre>
      <pre class="doc-comment">/** @ingroup netdbapi */</pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="lwip_gethostbyname_r">Func <span>lwip_gethostbyname_r</span></h4>
      <pre class="doc-declare"><code>int lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf,
               size_t buflen, struct hostent **result, int *h_errnop);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_freeaddrinfo">Func <span>lwip_freeaddrinfo</span></h4>
      <pre class="doc-declare"><code>void lwip_freeaddrinfo(struct addrinfo *ai);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_getaddrinfo">Func <span>lwip_getaddrinfo</span></h4>
      <pre class="doc-declare"><code>int lwip_getaddrinfo(const char *nodename,
      const char *servname,
      const struct addrinfo *hints,
      struct addrinfo **res);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="vars">Vars</h3>
      

      <h4 id="hostent">Variable <span>hostent</span></h4>
      <pre class="doc-declare"><code>struct hostent *lwip_gethostbyname(const char *name);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="consts">Consts</h3>
      
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      
    </div>
  </body>
</html>
            